/*公共表格*/
.common-table {
    width: 100%;
    border: 1px #d6d6d6 solid;
    border-collapse: collapse;
    font-size: 14px;
}

.common-table tr {
    height: 36px;
}

.common-table tr:nth-child(even) {
    background-color: #ecf2f8;
}

.common-table th {
    color: #ffffff;
    background-color: #00a98d;
}

.common-table td, th {
    padding: .25em .5em;
    text-align: center;
    word-break: break-word;
}

.common-table td span {
    width: 100%;
}

/*操作样式*/
.operate {

}

.operate a {
    margin-left: 10px;
    color: #8aaaff;
    text-decoration: none;
}

.operate a:active {
    color: red;
}

/*进度条*/
.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
    color: #8aaaff;
}

.finish {
    color: #52c41a;
}

.loader progress {
    font: 2.5em sans-serif;
}

.loader a {
    color: #8aaaff;
    text-decoration: none;
}

.loader a:active {
    color: red;
}

.loader progress[value] {
    width: 100%;
    height: 0.25em;
    border: none;
    border-radius: 0.125em;
    background: #e6eeff;
}

.loader progress[value]::-webkit-progress-bar {
    border: none;
    border-radius: 0.125em;
    background: #e6eeff;
}

.loader .progress[value]::-webkit-progress-value {
    border: none;
    border-radius: inherit;
    background: linear-gradient(90deg, #1890ff, #1890ff);
}

.loader .progress-finish[value]::-webkit-progress-value {
    border: none;
    border-radius: inherit;
    background: linear-gradient(90deg, #52c41a, #52c41a);
}

.loader .progress[value]::-moz-progress-bar {
    border: none;
    border-radius: inherit;
    background: linear-gradient(90deg, #1890ff, #1890ff);
}

.loader .progress-finish[value]::-moz-progress-bar {
    border: none;
    border-radius: inherit;
    background: linear-gradient(90deg, #52c41a, #52c41a);
}

.loader progress[value]::-ms-fill {
    border: none;
    border-radius: inherit;
    background: linear-gradient(90deg, #1890ff, #1890ff);
}

.loader .progress-finish[value]::-ms-fill {
    border: none;
    border-radius: inherit;
    background: linear-gradient(90deg, #52c41a, #52c41a);
}

.loader output:not(:empty):after {
    content: '%';
}

/*分页*/
.page {
    height: 35px;
    margin-top: 10px;
    text-align: center;
}

.page ul.page-each {
    display: inline-block;
    padding: 0;
    margin: 0 0 5px 0;
}

.page ul.page-each li {
    display: inline;
}

.page ul.page-each li a {
    color: black;
    float: left;
    padding: 6px 16px;
    text-decoration: none;
    transition: background-color .3s;
    border: 1px solid #ddd;
}

.page .page-each li:first-child a {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.page .page-each li:last-child a {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.page ul.page-each li a.active {
    background-color: #00a98d;
    color: white;
    border: 1px solid #00a98d;
}

.page ul.page-each li a:hover:not(.active) {
    background-color: #ddd;
}

.page .page-total {
    display: inline-block;
    vertical-align: top;
    margin-top: 7px;
    margin-left: 10px;
}


.page .page-select {
    display: inline-block;
    vertical-align: top;
    margin-left: 10px;
    font-size: 16px;
    height: 100%;
    border-radius: 5px;
    border-color: #ddd;
    padding: 3px;
}


.page .page-jump {
    display: inline-block;
    vertical-align: top;
    margin-left: 10px;
}

.page .page-jump span {
    margin-right: 5px;
    margin-left: 5px;
}

.page .page-jump input {
    width: 28px;
    font-size: 100%;
    height: 20px;
    padding: 7px 10px 6px 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

/*排序*/
.sort {
    width: 10px;
    height: 20px;
    margin-left: 5px;
    cursor: pointer;
    font-size: 16px;
    line-height: 28px;
    padding: 0 10px;
    position: relative;
    box-sizing: border-box;
}

.sort .sort-edge {
    display: inline-block;
    width: 0;
    height: 0;
    border-style: dashed;
    border-color: transparent;
    position: absolute;
    left: 5px;
    border-width: 5px;
}

.sort .sort-asc {
    top: 3px;
    border-top: none;
    border-bottom-style: solid;
    border-bottom-color: #b2b2b2;
}

.sort .sort-desc {
    bottom: 5px;
    border-bottom: none;
    border-top-style: solid;
    border-top-color: #b2b2b2;
}

.sort[xc-sort=desc] .sort-desc {
    border-top-color: #000;
}

.sort[xc-sort=asc] .sort-asc {
    border-bottom-color: #000;
}

/*必填*/
.required {
    margin-right: 3px;
}

.required::before {
    content: '*';
    color: red;
}

/*多选框*/
.xc-checkbox {
    width: 16px;
    height: 16px;
}
